<a href="#/alumni/alumni-managment/new" class="btn btn-primary">新建校友</a>


<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget jarviswidget-color-blueDark" id="wid-id-2"
	data-widget-editbutton="false">
	<header>
		<span class="widget-icon"> <i class="fa fa-table"></i>
		</span>
		<h2>校友列表</h2>

	</header>

	<!-- widget div-->
	<div>

		<!-- widget edit box -->


		<!-- end widget edit box -->

		<!-- widget content -->
		<div class="widget-body no-padding">

			<div class="widget-body-toolbar">
				<div class="smart-form1">
					<div class="row">
						<div class="col-sm-6">
							<div class="btn-group">
								<a class="btn btn-default" title="删除"> <i
									class="fa fa-trash-o"></i>
								</a> <a class="btn btn-default" title="导出"> <i
									class="fa fa-download"></i>
								</a>
							</div>
						</div>
						<div class="col-sm-6 text-right">
							<div class="pull-right">
								<div class="dataTables_paginate pull-right">
									<ul class="pagination">
										<li ng-class="{disabled: alumnuiTable.noPrevious()}"><a
											ng-click="alumnuiTable.selectPrevious()">前一页</a></li>
										<li ng-class="{disabled: alumnuiTable.noNext()}"><a
											ng-click="alumnuiTable.selectNext()">后一页</a></li>
									</ul>
								</div>
								<span class="pull-right" style="padding: 10px;"><b>{{alumnuiTable.startNumber
										+ 1}}</b>–<b>{{alumnuiTable.endNumber()}}</b>（共 <b>{{alumnuiTable.data.length}}</b>
									项）</span>


							</div>
						</div>
					</div>
				</div>
			</div>

			<div class="alert alert-danger fade in" ng-show="showErrorMessages()">
				<button class="close" ng-click="clearErrorMessages()">×</button>
				<i class="fa-fw fa fa-times"></i> <strong>出错了!</strong>
				{{errorMessage}}.
			</div>

			<div class="dataTables_wrapper" style="overflow: hidden;">
				<div id="chat-container" class="columnSelect">
					<span class="chat-list-open-close"><i class="fa fa-list"></i></span>

					<div class="chat-list-body custom-scroll">
						<div class="smart-form">
							<div style="padding-top: 10px; padding-left: 15px;">
								<label class="checkbox"
									ng-repeat="column in alumnuiTable.columnDefs"> <input
									type="checkbox" name="checkbox-inline" checked="checked"
									ng-model="column.show"> <i></i>{{column['displayName']}}
								</label>
							</div>
						</div>
					</div>
				</div>
				<table id="datatable_col_reorder"
					class="table table-bordered  table-hover has-tickbox">
					<thead>
						<tr>
							<th>
								<div class="smart-form">
									<label class="checkbox"> <input type="checkbox"
										name="checkbox-inline"> <i></i>
									</label>
								</div>
							</th>
							<th ng-repeat="column in alumnuiTable.columnDefs"
								ng-show="column['show']"
								ng-click="alum uiTable.sort(column['field'], column['sortable'])"
								ng-class="alumnuiTable.sortingClass(column['field'], column['sortable'])">{{column['displayName']}}</th>
							<th>Delete</th>
						</tr>
					</thead>
					<tbody>
						<tr
							ng-repeat="alumnus in filteredAlumnui = ((alumnuiTable.data | orderBy: alumnuiTable.sortField:alumnuiTable.reverse).slice(alumnuiTable.startNumber) | limitTo : alumnuiTable.limit)"
							ng-class-even="'light-gray'" ng-class-odd="'dark-gray'">
							<td>
								<div class="smart-form">
									<label class="checkbox"> <input type="checkbox"
										name="checkbox-inline"> <i></i>
									</label>
								</div>
							</td>
							<td ng-repeat="column in alumnuiTable.columnDefs"
								ng-show="column['show']">{{alumnus[column.field]}}</td>
							<td><a class="btn btn-danger btn-sm"
								href="javascript:void(0);" ng-click="deleteAlumnus(alumnus)"><i
									class="glyphicon glyphicon-trash"></i></a></td>
						</tr>
						<tr ng-if="filteredAlumnui.length === 0">
							<td colspan="3">没有匹配的结果！</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="dt-row dt-bottom-row">
				<div class="row">
					<div class="col-sm-12 text-right">
						<div class="pull-right">
							<div class="dataTables_paginate pull-right">
								<ul class="pagination">
									<li ng-class="{disabled: alumnuiTable.noPrevious()}"><a
										ng-click="alumnuiTable.selectPrevious()">前一页</a></li>
									<li ng-class="{disabled: alumnuiTable.noNext()}"><a
										ng-click="alumnuiTable.selectNext()">后一页</a></li>
								</ul>
							</div>
							<span class="pull-right" style="padding: 10px;"><b>{{alumnuiTable.startNumber
									+ 1}}</b>–<b>{{alumnuiTable.endNumber()}}</b>（共 <b>{{alumnuiTable.data.length}}</b>
								项）</span>


						</div>
					</div>
				</div>
			</div>


		</div>
		<!-- end widget content -->

	</div>
	<!-- end widget div -->

</div>
<script type="text/javascript">
	$(document).ready(function() {
		$.chat_list_btn = $('#chat-container > .chat-list-open-close');

		// open chat list
		$.chat_list_btn.click(function() {
			$(this).parent('#chat-container').toggleClass('open');
		})

	})
</script>

